package com.itheima.day15.第一题;

public class PrizePool {
    private int[]  prizePool = {100, 200, 300, 400, 500, 600, 700, 800, 900, 1000};
    private int count = prizePool.length;
    private boolean flag = true;

    public PrizePool() {
    }

    public PrizePool(int[] prizePool, int count, boolean flag) {
        this.prizePool = prizePool;
        this.count = count;
        this.flag = flag;
    }

    public int[] getPrizePool() {
        return prizePool;
    }

    public void setPrizePool(int[] prizePool) {
        this.prizePool = prizePool;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public void countSubtract(){
        count--;
    }
}
